package behavior.strategy;

public enum StatementEnum {
    BETWEEN(" and value > %s and value < %s "),
    GREATER_THAN(" and value > %s "),
    TRUE(" and 1=1 ");

    String template;
    StatementEnum(String t){
        template = t;
    }
    public String buildStatement(String[] values){
        return String.format(this.template,values);
    }
}
